export const effectOptions = [
  { label: '叶绿', value: '1006' },
  { label: '流水', value: '1007' },
  { label: '炎火', value: '1008' },
  { label: '飞空', value: '1009' },
  { label: '蓄电', value: '1010' },
  { label: '机能', value: '1011' },
  { label: '碎裂', value: '1012' },
  { label: '平衡', value: '1013' },
  { label: '冰霜', value: '1014' },
  { label: '魔幻', value: '1015' },
  { label: '战意', value: '1016' },
  { label: '光环', value: '1017' },
  { label: '黑夜', value: '1018' },
  { label: '奇异', value: '1019' },
  { label: '威严', value: '1020' },
  { label: '圣灵', value: '1021' },
  { label: '精准', value: '1022' },
  { label: '会心', value: '1023' },
  { label: '坚硬', value: '1024' },
  { label: '回避', value: '1025' },
  { label: '顽强', value: '1026' },
  { label: '瞬杀', value: '1027' },
  { label: '回神', value: '1028' },
  { label: '带电', value: '1029' },
  { label: '中毒', value: '1030' },
  { label: '高热', value: '1031' },
  { label: '冰冷', value: '1032' },
  { label: '阴森', value: '1033' },
  { label: '睡眠', value: '1034' },
  { label: '反抗', value: '1035' },
  { label: '反驳', value: '1036' },
  { label: '忽略', value: '1037' },
  { label: '草率', value: '1038' },
  { label: '慌张', value: '1040' },
  { label: '反击', value: '1041' },
  { label: '抵抗', value: '1042' },
  { label: '反攻', value: '1043' },
  { label: '坚韧', value: '1044' },
  { label: '借风', value: '1045' },
]
export const natureOptions = [
  { label: '孤独', value: 0 },
  { label: '固执', value: 1 },
  { label: '调皮', value: 2 },
  { label: '勇敢', value: 3 },
  { label: '大胆', value: 4 },
  { label: '顽皮', value: 5 },
  { label: '无虑', value: 6 },
  { label: '悠闲', value: 7 },
  { label: '保守', value: 8 },
  { label: '稳重', value: 9 },
  { label: '马虎', value: 10 },
  { label: '冷静', value: 11 },
  { label: '沉着', value: 12 },
  { label: '温顺', value: 13 },
  { label: '慎重', value: 14 },
  { label: '狂妄', value: 15 },
  { label: '胆小', value: 16 },
  { label: '急躁', value: 17 },
  { label: '开朗', value: 18 },
  { label: '天真', value: 19 },
  { label: '害羞', value: 20 },
  { label: '实干', value: 21 },
  { label: '坦率', value: 22 },
  { label: '浮躁', value: 23 },
  { label: '认真', value: 24 },
]
export const isShinyOptions = [
  { label: '是', value: 1 },
  { label: '否', value: 0 },
]

export const findByValue = (options: any[], value: any) => {
  const item = options.find((item) => item.value == value)
  return item ? item.label : ''
}
